package com.ithiema;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @autor gt
 * @date 2022/8/6 18:58
 */
@RestController
@RequestMapping("/user")
public class Helloworld {
    @GetMapping("/{id}")
    public String test(@PathVariable String id){
        System.out.println("我是测试类！！！！"+id);
        return id;

    }
}
